Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPARK-5557: Explicitly include servlet API in dependencies. #4411

Closed
wants to merge 1 commit into from

Conversation

pwendell
Copy link
Contributor

@pwendell pwendell commented Feb 6, 2015

Because of the way we shade jetty, we lose its dependency orbit
in the assembly jar, which includes the javax servlet API's. This
adds back orbit explicitly, using the version that matches
our jetty version.

Because of the way we shade jetty, we lose its dependency orbit
in the assembly jar, which includes the javax servlet API's. This
adds back orbit explicitly, using the version that matches
our jetty version.
@pwendell
Copy link
Contributor Author

pwendell commented Feb 6, 2015

I discussed this approach with @vanzin previously.

@ksakellis
Copy link

LGTM

@SparkQA
Copy link

SparkQA commented Feb 6, 2015

Test build #26873 has started for PR 4411 at commit 445f868.

  • This patch merges cleanly.

@vanzin
Copy link
Contributor

vanzin commented Feb 6, 2015

LGTM too.

@SparkQA
Copy link

SparkQA commented Feb 6, 2015

Test build #26873 has finished for PR 4411 at commit 445f868.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26873/
Test PASSed.

asfgit pushed a commit that referenced this pull request Feb 6, 2015
Because of the way we shade jetty, we lose its dependency orbit
in the assembly jar, which includes the javax servlet API's. This
adds back orbit explicitly, using the version that matches
our jetty version.

Author: Patrick Wendell <[email protected]>

Closes #4411 from pwendell/servlet-api and squashes the following commits:

445f868 [Patrick Wendell] SPARK-5557: Explicitly include servlet API in dependencies.

(cherry picked from commit 793dbae)
Signed-off-by: Patrick Wendell <[email protected]>
@asfgit asfgit closed this in 793dbae Feb 6, 2015
@srowen
Copy link
Member

srowen commented Feb 6, 2015

Ok but isn't it more straightforward to at last depend on the real servlet API artifact? This is just Jetty's random copy. Maybe just fine or necessary for a reason I miss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants